#include <stdio.h>

int main() {
    int a;
    scanf("%d", &a);

    int b = (a >> 4) & 0xF; 
    int c = a & 0xF;       

    int d = b * 10 + c;

    printf("%d\n", d);
    return 0;
}
